@charset "utf-8";
/* 设置版心 */
html,
body{
    width: 100%;
    height: 100%;
}
.container{
    width: 1225px;
    margin: 0 auto;
}

/* 设置排序方式小字的样式 */
section{
    width: 100%;
    min-width: 1225px;
    padding-bottom: 40px;
	background-color: #EDEDED;
	.subNav ul{
		display: flex;
		li{
			padding: 20px 10px;
			font-size: 12px;
			color: #999999;
			cursor: pointer;
			&.active{
				color: #5683ea;
			}
			&:hover{
				color: #5683ea;
			}
			&:nth-child(1){
				color: #5683ea;
			}
		}
	}
}

/* 热门商品框的样式 */
.hotbar {
    width: 1220px;
    height: auto;
	border: 1px solid #CCCCCC;
	border-radius: 15px;
    background-color: #FFFFFF;
	overflow: hidden;
	li{
		border: 1px solid #CCCCCC;
		width: 244px;
		float: left;
		border-bottom: 1px solid #CCCCCC;
		box-sizing: border-box;
		flex-direction: column;
		align-items: center;
		position: relative;
		&:hover{
			box-shadow: 0 0 25px 5px #EEEEEE inset;
		}
		&:hover p{
			color: #D44D44;
		}
	}
}

.container li a {
	height: 256px;
	display: flex;
	justify-content: center;
	margin-bottom: 20px;
}

.hotbar li img {
	width: 216px;
	height: 216px;
	margin-top: 50px;
}

.hotbar li h3 {
	text-align: center;
	padding: 0 5px;
	font-size: 15px;
	color: #333333;
	font-weight: 600;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
}

.hotbar li p {
	text-align: center;
	overflow: hidden;
	white-space: nowrap;
	text-overflow: ellipsis;
	font-size: 12px;
	color: #999999;
	padding: 15px 12px 0;
}

.hotbar li b {
	height: 12px;
	padding: 15px 0 0;
	display: flex;
	justify-content: space-around;
}

.hotbar li b span {
	margin: 0 5px;
	display: block;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	border: 2px solid #CCCCCC;
	background-color: #FFFFFF;
}

/* 商品展示小圆点的颜色，默认是白色 */
.container li b .red {
	background-color: red;
}

.container li b .blue {
	background-color: darkblue;
}

.container li b .black {
	background-color: black;
}

.container li b .pink {
	background-color: pink;
}

.container li b .gray {
	background-color: gray;
}

.container li b span:hover {
	border: 2px solid #999999;
}

/* 设置物品展示小圆点选中后的样式 */
.container ul li .checked {
	border: 2px solid #999999;
}

.hotbar li em {
	width: 100%;
	display: inline-block;
	text-align: center;
	margin: 20px 0;
	font-size: 18px;
	color: #D44D44;
	font-weight: 600;
}

.hotbar li em del {
	font-size: 12px;
	color: #CCCCCC;
	font-weight: normal;
	padding-left: 10px;
}

.container li i {
	padding: 0 10px;
	position: absolute;
	border-radius: 10px;
	font-size: 12px;
	top: 10px;
	right: 10px;
	display: none;
	font-weight: 600;
}

/* 设置物品展示右上角的标签显示为红色 */
.container li .redtext{
	display: block;
	border: 1px solid #D03B34;
	background-color: #FAE7E5;
	color: #D03B34;
}
/* 设置物品展示右上角的标签显示为黄色 */
.container li .yellowtext{
	display: block;
	border: 1px solid #A06E37;
	background-color: #FFFBDF;
	color: #A06E37;
}

